"""
des: 软件启动程序
author: mr_52hz
date: 2021-02-03
"""
import sys

from PyQt5.QtCore import QCoreApplication, Qt
from PyQt5.QtGui import QFont
from PyQt5.QtWidgets import QApplication

import settings
from UI.main import QuickReName


if __name__ == '__main__':
    app = QApplication(sys.argv)
    # 适配更高分辨率
    QCoreApplication.setAttribute(Qt.AA_EnableHighDpiScaling)
    settings.to_height_w_h_screen(app.desktop().width(), app.desktop().height())
    window = QuickReName()
    sys.exit(app.exec())
